<div class="row article-list">
<div class="primary-content">
  <div class="col-md-8">
  <% @articles.each do |article| %>
    <article>
      <a href="<%= article_path(article) %>"><h1><%= article.title %></h1></a>
      <h2>
         <span class="data">by  on <%= article.created_at %></span>
         <span class="comment_count"><%= article.comments.size %>条回复</span>
      </h2>
      <div class="post_body">
      <p><%= article.body %></p>
      </div>
    </article>
  <% end %>
  </div>
  <div class="col-md-4">
  <aside>
  </aside>
  </div>
</div>
</div>

<div class="text-center">
<%= will_paginate @articles, renderer: BootstrapPagination::Rails %>
</div>